﻿<Canvas x:Class="Microsoft.Popfly.GameCreator.GameEngine.MandatorySplash"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
    IsHitTestVisible="false">
    <Canvas.RenderTransform>
        <ScaleTransform x:Name="ScaleToSet" ScaleX="1.0" ScaleY="1.0"/>
    </Canvas.RenderTransform>
    <Canvas.Triggers>
        <EventTrigger RoutedEvent="Canvas.Loaded">
            <EventTrigger.Actions>
                <BeginStoryboard>
                    <Storyboard>
                        <DoubleAnimationUsingKeyFrames Storyboard.TargetName="bigCircleScale" Storyboard.TargetProperty="ScaleX">
                            <LinearDoubleKeyFrame Value="1.1" KeyTime="0:0:.27"/>
                            <LinearDoubleKeyFrame Value="1" KeyTime="0:0:.3"/>
                        </DoubleAnimationUsingKeyFrames>
                        <DoubleAnimationUsingKeyFrames Storyboard.TargetName="bigCircleScale" Storyboard.TargetProperty="ScaleY">
                            <LinearDoubleKeyFrame Value="1.1" KeyTime="0:0:.27"/>
                            <LinearDoubleKeyFrame Value="1" KeyTime="0:0:.3"/>
                        </DoubleAnimationUsingKeyFrames>
                        <DoubleAnimationUsingKeyFrames Storyboard.TargetName="smallCircleScale" BeginTime="0:0:.2" Storyboard.TargetProperty="ScaleX">
                            <LinearDoubleKeyFrame Value="1.1" KeyTime="0:0:.27"/>
                            <LinearDoubleKeyFrame Value="1" KeyTime="0:0:.3"/>
                        </DoubleAnimationUsingKeyFrames>
                        <DoubleAnimationUsingKeyFrames Storyboard.TargetName="smallCircleScale" BeginTime="0:0:.2" Storyboard.TargetProperty="ScaleY">
                            <LinearDoubleKeyFrame Value="1.1" KeyTime="0:0:.27"/>
                            <LinearDoubleKeyFrame Value="1" KeyTime="0:0:.3"/>
                        </DoubleAnimationUsingKeyFrames>
                    </Storyboard>
                </BeginStoryboard>
            </EventTrigger.Actions>
        </EventTrigger>
    </Canvas.Triggers>
    <Rectangle Fill="White" Stroke="#2366ce" RadiusX="4" RadiusY="4" Width="30" Height="30"/>
    <Canvas Canvas.Left="3.2" Canvas.Top="1.4">
        <Canvas.RenderTransform>
            <ScaleTransform x:Name="logoScale" ScaleX="1.4" ScaleY="1.4"/>
        </Canvas.RenderTransform>
        <Ellipse Name="bigCircle" Width="13.226" Height="13.226" Fill="#2366ce" Canvas.Left="1.875" RenderTransformOrigin=".5,.5">
            <Ellipse.RenderTransform>
                <ScaleTransform x:Name="bigCircleScale" ScaleX="0" ScaleY="0"/>
            </Ellipse.RenderTransform>
        </Ellipse>
        <Ellipse Width="3.541" Height="3.541" Fill="#2366ce" Canvas.Left="2.062" Canvas.Top="13" RenderTransformOrigin=".5,.5">
            <Ellipse.RenderTransform>
                <ScaleTransform x:Name="smallCircleScale" ScaleX="0" ScaleY="0"/>
            </Ellipse.RenderTransform>
        </Ellipse>
    </Canvas>
    <TextBlock Foreground="#2366ce" FontFamily="Arial" FontSize="2" Canvas.Left="14.6" Canvas.Top="21" Text="Powered by"/>
    <TextBlock Foreground="#2366ce" FontFamily="Arial" FontSize="5" Canvas.Left="13" Canvas.Top="23" Text="Popfly"/>
</Canvas>

